package varton;

public class PriceContext {
    private IPrice sales;

    public PriceContext(IPrice sales) {
        this.sales = sales;
    }

    public void amount(double price, int num){
        System.out.println("总价"+sales.actuallyAmount(price,num));
    }
}
